package com.zking.ssm.sys.service;

import com.zking.ssm.sys.model.HotelSeller;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelSellerService {
    int deleteByPrimaryKey(Integer id);

    int insert(HotelSeller record);

    int insertSelective(HotelSeller record);

    @Transactional(readOnly = true)
    HotelSeller selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelSeller record);

    int updateByPrimaryKey(HotelSeller record);

    @Transactional(readOnly = true)
    List<HotelSeller> list(HotelSeller record, PageBean pageBean);
}